@date-picker-prefix-cls: ~"@{sta-prefix}-date-picker";
@picker-prefix-cls: ~"@{sta-prefix}-picker";

.@{picker-prefix-cls} {
    .picker;

    &-wrap {
        display: inline-block;
    }

    &-show {
        opacity: 1;
        transform: scale(1);
    }

    &-panel {
        .picker-panel;

        &-header {
            .picker-panel-header;
        }

        &-btn {
            .picker-panel-btn;
        }

        &-icon {
            &-arrow-double-left {
                color: @disabled-color;
                float: left;
                margin: 0 0 0 10px;
            }

            &-arrow-left {
                color: @disabled-color;
                float: left;
                margin-left: 5px;
            }

            &-arrow-double-right {
                color: @disabled-color;
                float: right;
                margin: 0 10px 0 0;
            }

            &-arrow-right {
                color: @disabled-color;
                float: right;
                margin-right: 5px;
            }

        }

        &-body {
            padding: 8px 12px;
        }

        &-content {
            .picker-panel-content;

            &-daterange {
                white-space: nowrap;

                td {
                    padding: 2px 0px;
                }
            }

        }

        &-cell {
            line-height: 1.9;
            transition: all .15s linear;

            &:hover {
                background-color: @disabled-bg;
            }

            &-outer {
                color: @disabled-color ;
            }

            &-today {
                border: @border-width-base @border-style-base @primary-color;
                border-radius: @border-radius-sm;
            }

            &-segment {
                background-color: tint(@primary-color, 85%);

                &:hover {
                    background-color: tint(@primary-color, 85%);
                }
            }

            &-selected {
                .picker-cell-selected;
            }

            td&-disabled {
                border: none;
                background-color: @disabled-bg;
                cursor: not-allowed;
                color: @disabled-color;
            }


        }

        &-row {
            line-height: 1.9;
            border-radius: @border-radius-sm;

            &:hover {
                background-color: @disabled-bg;
            }

            &-selected {
                .picker-cell-selected;

                .@{picker-prefix-cls}-panel-cell-outer {
                    color: #ffffff;
                }

                .@{picker-prefix-cls}-panel-cell:hover {
                    background-color: @primary-color;
                }
            }
        }
    }


}